<?php
	


defined( '_JEXEC' ) or die( 'Restricted access' );

jimport('joomla.application.component.model');

class NBEventMapsModelCss extends JModel
{

	
	 
	function store()
	{	

		$file 			= JPATH_COMPONENT_SITE.DS.'views/nbeventmap'.DS.'nbeventmap.css';
		$csscontent	 	= JRequest::getVar('csscontent', '', 'post', 'string', JREQUEST_ALLOWRAW);

		if( $fp = @fopen( $file, 'w' )) {
			fputs( $fp, stripslashes( $csscontent ) );
			fclose( $fp );
			return true;
		}else{
			return false;
		}

	}


}
?>